<%--
  Created by IntelliJ IDEA.
  User: cyy
  Date: 2020/2/8
  Time: 20:46
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<c:set var="ctx" value="<%=basePath%>"  />
<html>
<head>
    <link href="/static/bootstrap/css/bootstrap.min.css" rel="stylesheet">
    <link href="/static/bootstrap/css/bootstrapValidator.min.css" rel="stylesheet"/>
    <link rel="stylesheet" href="/static/toastr/toastr.min.css">
    <script src="/static/js/jquery.min.js"></script>
    <script src="/static/bootstrap/js/bootstrap.min.js"></script>
    <script  src="/static/bootstrap/js/bootstrapValidator.js"></script>
    <script src="/static/toastr/toastr.min.js"></script>
    <script src="/static/js/business/uploadInfo/uploadInfo.js"></script>
    <title></title>
    <style type="text/css">
        .navbar{
            background-color: #FFE4C4;
        }
        .col-md-1{
            padding-top: 12px;
            padding-right: 0px;
        }
        .col-md-2{
            padding: 7px 0px 0px  15px;
        }
        .col-md-3{
            padding-top: 7px;
            padding-right: 0px;
        }
        .col-md-5{
            padding-top: 7px;
            padding-right: 0px;
        }
        img{
            width: 34px;
            height: 34px;
        }
        /*只显示纵向滑动条*/
        html { overflow-x: hidden; overflow-y: auto; }
        /*x √ 调整位置*/
        .form-control-feedback{
            line-height: 45px;
        }
      /*  !*调整左侧汉字位置*!
        .control-label{
            text-align: center;
        }*/
    </style>
    <script>
        var ctx='${ctx}';
        var businessName='${businessName}';
        var hotelId='${hotelInfoId}';
        console.info("登录名:"+businessName+"--相关联酒店主键:"+hotelId)
    </script>
</head>
<body>
    <nav class="navbar" role="navigation">
        <div class="container-fluid">
            <div class="navbar-header">
                <a class="navbar-brand" <%--href="home"--%>>
                    <span class="glyphicon glyphicon-user" aria-hidden="true" ></span>
                </a>
                <span class="navbar-brand">欢迎上传酒店信息</span>
            </div>
            <%--<div class="collapse navbar-collapse" id="example-navbar-collapse">
                <ul class="nav navbar-nav navbar-right">
                    <li>
                        <a href="${ctx}/business/index">首页</a>
                    </li>
                </ul>
            </div>--%>
        </div>
    </nav>
    <form class="form-horizontal center-block" role="form" id="yanzheng" action="${ctx}business/uploadFile" method="post">
        <input type="hidden" name="bphone" value="${businessName}">
        <div class="form-group ">
            <label class="col-md-3 control-label" for=""><img src="/static/img/uplodeInfo/hotelName.png" />酒店名字:</label>
            <div class="col-md-5">
                <input class="form-control" id="" name="hotelName"  type="tel" placeholder="可用作搜索" autocomplete="off"/>
            </div>
        </div>

        <div class="form-group ">
            <label class="col-md-3 control-label" for=""><img src="/static/img/uplodeInfo/hotelCity.png" />所在城市:</label>
            <div class="col-md-5">
                <input class="form-control" id="" name="hotelCity" type="text" placeholder="请选择所在城市" autocomplete="off"/>
            </div>
        </div>

        <div class="form-group ">
            <label class="col-md-3 control-label" for=""><img src="/static/img/uplodeInfo/hotelAddress.png" />酒店地址:</label>
            <div class="col-md-5">
                <input class="form-control" id="" name="hotelAddress" type="text" placeholder="请具体到街号" autocomplete="off"/>
            </div>
        </div>

        <div class="form-group ">
            <label class="col-md-3 control-label" for=""><img src="/static/img/uplodeInfo/hotelPhone.png" />酒店电话:</label>
            <div class="col-md-5">
                <input class="form-control" id="" name="hotelPhone" type="text" placeholder="请填写有效电话" autocomplete="off"/>
            </div>
        </div>

        <div class="form-group ">
            <label class="col-md-3 control-label" for=""><img src="/static/img/uplodeInfo/hotelDes.png" />酒店介绍:</label>
            <div class="col-md-5">
                <textarea rows="3" class="form-control" id="hotelDescription" name="hotelDescription" type="text" placeholder="请输入酒店介绍" autocomplete="off" ></textarea>
            </div>
        </div>


        <div class="form-group">
            <label class="col-md-3 control-label"> <img src="/static/img/uplodeInfo/hotelType.png" />酒店类型:</label>
            <div class="col-md-1">
                <input  type="radio" name="hotelType" value="1" id="jj" checked="checked"/> 经济型
            </div>
            <div class="col-md-1">
                <input  type="radio" name="hotelType" value="2" id="gy"/> 公寓型
            </div>
            <div class="col-md-1">
                <input  type="radio" name="hotelType" value="3" id="sw"/> 商务型
            </div>
            <div class="col-md-1">
                <input  type="radio" name="hotelType" value="4" id="ql"/> 情侣酒店
            </div>
        </div>

        <div class="form-group">
            <label class="col-md-3 control-label"><img src="/static/img/uplodeInfo/hotelRoomType.png" />酒店房型:</label>
            <div class="col-md-1">
                <input  type="checkbox" name="hotelRoomType" value="1" id="big" checked  onclick="return false"/> 大床房
            </div>
            <div class="col-md-1">
                <input  type="checkbox" name="hotelRoomType" value="2" id="double" checked onclick="return false"/> 双床房
            </div>
            <div class="col-md-1">
                <input  type="checkbox" name="hotelRoomType" value="3" id="circle"/> 商务房
            </div>
            <div class="col-md-1">
                <input  type="checkbox" name="hotelRoomType" value="4" id="Couples"/> 情侣主题
            </div>
        </div>

        <div class="form-group">
            <label class="col-md-3 control-label"><img src="/static/img/uplodeInfo/hotelBrand.png" />酒店品牌:</label>
            <div class="col-md-1">
                <input  type="radio" name="hotelBrand" value="1" checked/> 阿娇
            </div>
            <div class="col-md-1">
                <input  type="radio" name="hotelBrand" value="2"/> 言芳
            </div>
            <div class="col-md-1">
                <input  type="radio" name="hotelBrand" value="3"/> 玉兰
            </div>
        </div>

        <div class="form-group">
            <label class="col-md-3 control-label"><img src="/static/img/uplodeInfo/service.png" />服务设施:</label>
            <div class="col-md-1">
                <input  type="checkbox"  name="serviceFacilities" value="1" checked="checked"/>暖气
            </div>
            <div class="col-md-1">
                <input  type="checkbox"  name="serviceFacilities" value="2" />停车场
            </div>
            <div class="col-md-1">
                <input  type="checkbox"  name="serviceFacilities" value="3"/>投影设备
            </div>
            <div class="col-md-1">
                <input  type="checkbox"  name="serviceFacilities" value="4"/>洗衣机
            </div>
            <div class="col-md-1">
                <input  type="checkbox"  name="serviceFacilities" value="5"/>浴缸
            </div>

        </div>

        <div class="form-group">
            <label class="col-md-3 control-label"><img src="/static/img/uplodeInfo/breakfast.png" />提供早餐:</label>
            <div class="col-md-1">
                <input type="radio" name="breakfast" value="1" checked/> 是
            </div>
         <%--   <div class="col-md-1">
                <input type="radio" name="breakfast" value="2"/> 否
            </div>--%>
        </div>

        <div class="form-group">
            <label class="col-md-3 control-label"><img src="/static/img/uplodeInfo/minPrice.png" />最低消费:</label>
            <div class="col-md-5">
                <input type="text" class="form-control"  name="hotelMinPrice" id="minPrice"  placeholder="请输入酒店当天最低消费" autocomplete="off"/>
            </div>
        </div>

        <div class="form-group">
            <label class="col-md-3 control-label"><img src="/static/img/uplodeInfo/jwd.png" />经 &nbsp 纬度:</label>
            <div class="col-md-2">
                <input type="text" class="form-control"  name="longitude"  id="longitude" placeholder="经度(百度查询经度)" autocomplete="off"/>
            </div>
            <div class="col-md-2">
                <input type="text" class="form-control"  name="latitude"  id="latitude" placeholder="纬度(百度查询纬度)" autocomplete="off"/>
            </div>
        </div>

        <div class="form-group">
            <label class="col-md-3 control-label"><img src="/static/img/uplodeInfo/roomNum.png" />房间数量:</label>
            <div class="col-md-2">
                <input type="text" class="form-control"  name="bigHomeNum"  id="bigHome" placeholder="大床" autocomplete="off"/>
            </div>
            <div class="col-md-2">
                <input type="text" class="form-control"  name="douHomeNum"   id="dbHome" placeholder="双床" autocomplete="off"/>
            </div>
            <div class="col-md-2" style="width: 160px">
                <input type="text" class="form-control"  name="circleHomeNum"  id="circleHome" placeholder="商务" autocomplete="off"/>
            </div>
            <div class="col-md-2" style="width: 160px">
                <input type="text" class="form-control"  name="couplesHomeNum"   id="couplesHome" placeholder="情侣" autocomplete="off"/>
            </div>
        </div>

        <div class="form-group">
            <label class="col-md-3 control-label"><img src="/static/img/uplodeInfo/roomNum.png" />房间价格:</label>
            <div class="col-md-2">
                <input type="text" class="form-control"  name="bigHomePri"  id="bigHome" placeholder="￥大床" autocomplete="off"/>
            </div>
            <div class="col-md-2">
                <input type="text" class="form-control"  name="douHomePri"   id="dbHome" placeholder="￥双床" autocomplete="off"/>
            </div>
            <div class="col-md-2" style="width: 160px">
                <input type="text" class="form-control"  name="circleHomePri"  id="circleHome" placeholder="￥商床" autocomplete="off"/>
            </div>
            <div class="col-md-2" style="width: 160px">
                <input type="text" class="form-control"  name="couplesHomePri"   id="couplesHome" placeholder="￥情侣" autocomplete="off"/>
            </div>
        </div>

        <div class="form-group" id="nextStep">
            <label class="col-sm-3 control-label " for=""> </label>
            <div class="col-sm-4">
                <input class="btn btn-default pull-right" type="submit" id="btn-test" value="下一步" />
            </div>

        </div>
    </form>
</body>
</html>
